import { ITableInit } from "@/components/base-ui/table";

export const tableInit: ITableInit = {
  propList: [
    { prop: "name", label: "支持软件名称", minWidth: "100", },
    { prop: "scopes", label: "简介", minWidth: "100", },
    { prop: "level", label: "文档权限", minWidth: "100", slot: "level" },
    { prop: "operation", label: "操作", minWidth: "100", slot: "operation" }
  ],
  // children: {
  //   rowKey: "id",
  //   treeProp: {
  //     children: "children",
  //     hasChildren: true
  //   }
  // }
  // showIndex: false,
  // selection: false,
  // cardStyle: {
  //   marginTop: '20px'
  // },

  pagination: true,
  paginationConfig: {
    currentPage: 0,
    pageSize: 10
  },
  total: 0,
  btn: ["add", "export"]
};
